﻿// stops and plays every movieclip inside of a movieclip package com.smart.utils {	import flash.display.MovieClip; 	public class MovieUtils {			public static function stopMovie(mc:MovieClip):void {					mc.stop(); 			for ( var ii = 0; ii < mc.numChildren; ii++ ) {				if ( mc.getChildAt(ii) is MovieClip ) {					stopMovie(mc.getChildAt(ii) as MovieClip); 				}			}				}				public static function playMovie(mc:MovieClip):void {					mc.play(); 			for ( var ii = 0; ii < mc.numChildren; ii++ ) {				if ( mc.getChildAt(ii) is MovieClip ) {					playMovie(mc.getChildAt(ii) as MovieClip); 				}			}				}			}}